<div class="row">
    <div class="col-xs-6">
        <div class="dataTables_info" id="sample-table-2_info" role="status" aria-live="polite">
            {{ page.rows }}|{{ page.size }} 条/页 当前: 第{{ page.index }}页 行号: {{ page.offset + 1 }} 至 {{ page.offset + page.rows }}条 </div>
    </div>
    <div class="col-xs-6">
        <div class="dataTables_paginate paging_simple_numbers">
            <ul class="pagination">
                <li class="paginate_button{% if page.index==1 %} disabled{% endif %}" aria-controls="sample-table-2" tabindex="0">
                    {% if page.index!=1 %}<a href="{% if querystring %}?{{ querystring }}{% endif %}">首页</a>{% else %}<a>首页</a>{% endif %}
                </li>
                <li class="paginate_button{% if page.index==1 %} disabled{% endif %}" aria-controls="sample-table-2" tabindex="0">
                    {% if page.index>1 %}<a href="?page={{ page.index-1 }}{% if querystring %}&{{ querystring }}{% endif %}">上页</a>{% else %}<a>上页</a>{% endif %}
                </li>
                <li class="paginate_button{% if page.hasNext==false %} disabled{% endif %}" aria-controls="sample-table-2" tabindex="0">
                    {% if page.hasNext %}<a href="?page={{ page.index+1 }}{% if querystring %}&{{ querystring }}{% endif %}">下页</a>{% else %}<a>下页</a>{% endif %}
                </li>
                {#<li class="paginate_button " aria-controls="sample-table-2" tabindex="0">#}
                {#<a href="#">末页</a>#}
                {#</li>#}
            </ul>
        </div>
    </div>
</div>